<template>
    <!-- <iframe src="/public/luckyexcel-import/index.html" frameborder="0"></iframe> -->
    <div>
      <iframe id="show-iframe" frameborder="0" scrolling="yes" style="background-color:transparent; position：absolute;width: 100%;
         height:900px; top: 0;right:0;left:0;bottom:0;" src='/lucky/index.html'></iframe>
    </div>
</template>
<script>
export default {
  methods:{
    //传url值
    setUrlToIframe(){
      document.getElementById('show-iframe').onload = ()=>{
        document.getElementById('show-iframe').contentWindow.changeValue(this.$route.query.url)
      }
     
    }
  },
  mounted(){
    this.setUrlToIframe()
  }
};
</script>
<style lang="stylus">
</style>
